#include"app_pool.h"

void testpool(void * val)
{
    log_info("测试val:%s",val);
}

void testpool2(void * val)
{
    log_info("测试2val:%s",val);
}

void testpool3(void * val)
{
    log_info("测试3val:%s",val);
}

void testpool4(void * val)
{
    log_info("测试4val:%s",val);
}

int main(int argc, char const *argv[])
{
    app_pool_init(4);
    app_pool_add_task(testpool,"你好世界");
    app_pool_add_task(testpool2,"你好世界");
    app_pool_add_task(testpool3,"你好世界");
    app_pool_add_task(testpool4,"你好世界");

    app_pool_deinit();
}